package cate.common.table.hallow.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;

@EExcelRowClass
public class HallowRefineRow extends ERow {
    @EExcelNoteField(fieldName = "圣器ID", defaultValue = "1")
    public int type;
    @EExcelNoteField(fieldName = "精炼等级", defaultValue = "1")
    public int level;
    @EExcelNoteField(fieldName = "附加真实伤害", defaultValue = "0")
    public int hurt;
    @EExcelNoteField(fieldName = "消耗材料", defaultValue = "")
    public String consumeStr;
    @EExcelNoteField(fieldName = "需要圣器等级", defaultValue = "0")
    public int hallowLevelRequire;
    @EExcelNoteField(fieldName = "重铸返还道具累计数量", defaultValue = "")
    public String backStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = type * 1000 + level;
    }
}
